package net.sk.china.common.model.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户表
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/4 14:51
 * // +----------------------------------------------------------------------
 */

@Data
@TableName("db_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uid", type = IdType.AUTO)
    private Integer uid;

    private String account;

    private String pwd;

    private String realName;

    private String birthday;

    private String cardId;

    private String mark;

    private String groupId;

    private String tagId;

    private String nickname;

    private String avatar;

    private String phone;

    private int sex;

    private String addIp;

    private String lastIp;

    private Integer status;

    private String userType;

    private String address;

    private String loginType;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    private LocalDateTime lastLoginTime;

    private Integer isOnline;

    private String unionId;

    private String idCardPositive;

    private String idCardReverse;

    private BigDecimal nowMoney;

    private Integer integral;

    private Integer signNum;

    private String country;
}
